package com.qingsong.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * @author qingsong
 */

@Schema(name = "猪的DTO实体", description = "猪的DTO实体，包含猪表的全部可操作属性")
@Data
public class PigInsertDTO implements Serializable {

    @Schema(description = "猪的名字", required = true, example = "佩奇")
    private String pigName;
}
